package Message.BroadCast
{
    import Framework.Serialize.*;
    import Message.Public.*;

    public class SMiniGroupInfo extends Object
    {
        public var groupID:SEntityId;
        public var playerCount:int;
        public var maxPlayerCount:int;
        public var captainCamp:int;
        public var captainSex:int;
        public var captionName:String;
        public var captionId:SEntityId;
        public var captionLevel:int;

        public function SMiniGroupInfo()
        {
            
        }

        public function __write(param1:SerializeStream) : void
        {
            this.groupID.__write(param1);
            param1.writeByte(this.playerCount);
            param1.writeByte(this.maxPlayerCount);
            param1.writeByte(this.captainCamp);
            param1.writeByte(this.captainSex);
            param1.writeString(this.captionName);
            this.captionId.__write(param1);
            param1.writeByte(this.captionLevel);
            
        }

        public function __read(param1:SerializeStream) : void
        {
            this.groupID = new SEntityId();
            this.groupID.__read(param1);
            this.playerCount = param1.readByte();
            this.maxPlayerCount = param1.readByte();
            this.captainCamp = param1.readByte();
            this.captainSex = param1.readByte();
            this.captionName = param1.readString();
            this.captionId = new SEntityId();
            this.captionId.__read(param1);
            this.captionLevel = param1.readByte();
            
        }

    }
}
